package factoryMethod.factory;

public class Test {
    public static void main(String[] args) {
        Factory hp=new HpFactory();
        hp.computer().print();

        Factory lenovo=new LenoveFactory();
        lenovo.computer().print();
    }
}
